﻿/* Autoduel Game
 * CS4911 Senior Design Project
 * Fall 2010 Semester
 * Ian Axelrod, Liz Ha, Andrew Muldowney, Edward Futch
 */
using System.Collections.Generic;

namespace AutoduelClient.GameClient.Locations
{
    /// <summary>
    /// Represents an event that can occur at the Arena location
    /// </summary>
    public class Event
    {
		#region Fields (5)
		// the requirements associated with this event
        private REQS[] requirements;

		// the players signed up for this event
        private List<Player.Player> roster;

		// the prize money awarded to the winner of this event
        private int prizeMoney;
		// time takes 4 digits as military time
        // the time this event occurs
        private int time;

		// the name of this event
        private string name;
		#endregion

		#region Properties (5)
		/// <summary>
        /// Gets/Sets the name of this event
        /// </summary>
        public string Name
        {
            get { return name; }
            set { name = value; }
        }
		/// <summary>
        /// Gets/Sets the prize money awarded to the winner of this event
        /// </summary>
        public int PrizeMoney
        {
            get { return prizeMoney; }
            set { prizeMoney = value; }
        }
		/// <summary>
        /// Gets/Sets the requirements to enter this event
        /// </summary>
        public REQS[] Requirements
        {
            get { return requirements; }
            set { requirements = value; }
        }
		/// <summary>
        /// Get/Sets the players signed up for this event
        /// </summary>
        public List<Player.Player> Roster
        {
            get { return roster; }
            set { roster = value; }
        }
		/// <summary>
        /// Gets/Sets the time this event occurs
        /// </summary>
        public int Time
        {
            get { return time; }
            set { time = value; }
        }
		#endregion

		#region Methods (2)

		/// <summary>
        /// Listener for when the event begins
        /// </summary>
        public void EventListener()
        {
        }

		/// <summary>
        /// Code to execute when the event begins
        /// </summary>
        public void StartEvent()
        {
        }

		#endregion
    }
}
